<?php foreach($photos as $photo) { ?>
	<?php echo image_tag($small_gallery_dir."/".$photo) ?>

<?php } ?>